import React from "react";
import { Outlet, NavLink } from "react-router-dom";
import { Tabbar } from "react-vant";
import { ROuterList } from "../../router/router";
export default function Default() {
  console.log(ROuterList[0].children);

  return (
    <div>
      <Outlet></Outlet>
      <Tabbar>
        <Tabbar.Item>
          <NavLink to="/deafult/home">首页</NavLink>
        </Tabbar.Item>
        <Tabbar.Item>
          <NavLink to="/deafult/friends">朋友圈</NavLink>
        </Tabbar.Item>
        <Tabbar.Item>
          <NavLink to="/video">视频</NavLink>
        </Tabbar.Item>
      </Tabbar>
    </div>
  );
}
